$OpenBSD: patch-Makefile,v 1.1 2016/04/27 18:07:00 ajacoutot Exp $
--- Makefile.orig	Wed Jul 15 02:06:28 2015
+++ Makefile	Wed Apr 27 20:03:49 2016
@@ -2,7 +2,7 @@
 
 VERSION = 2.5.11
 
-CFLAGS = -DVERSION=\"$(VERSION)\" -O2
+CFLAGS += -DVERSION=\"$(VERSION)\"
 LDFLAGS = -s
 
 SOURCES = 437_l1.c gif2png.c gifread.c memory.c version.c
@@ -38,9 +38,9 @@ prefix?=/usr
 
 install: gif2png gif2png.1 web2png.1
 	mkdir -p $(prefix)/bin
-	mkdir -p $(prefix)/share/man/man1
+	mkdir -p $(prefix)/man/man1
 	cp gif2png web2png $(prefix)/bin/
-	cp gif2png.1 web2png.1 $(prefix)/share/man/man1/
+	cp gif2png.1 web2png.1 $(prefix)/man/man1/
 
 uninstall:
 	rm $(prefix)/bin/gif2png $(prefix)/bin/web2png
